Perforce Proxy Server: Caching selective files [closed]
Posted
by fbrereto
on Super User
See other posts from Super User
or by fbrereto
Published on 2009-11-30T17:50:32Z
Indexed on
2010/04/19
12:03 UTC
Read the original article
Hit count: 338
I just set up a Perforce proxy server for work. I'm noticing the cache directory is filling up very quickly -- with files I know I will never need. For example, there is a 'sandbox' directory in the depot where users keep personal branches and other work; a p4 sync
is causing the p4 proxy cache to grab these user's sandboxes when I'll never need them. I would create a symbolic link for the sandbox directory to /dev/null
but then I wouldn't be caching my sandbox, which I am interested in.
Is there any way to tell the perforce proxy something to the effect of "if I haven't had to sync it, please don't cache it?"
© Super User or respective owner